/*
 * StoreBO.java
 * 
 * Created on March 5, 2007, 4:19 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

import java.util.List;

 /**
 * The class is represents the store business object. It is created
 * by the storeDAO. It extends businessObject which contains the ID,
 * alreadyInDatabase and dirty. This class contains the attributes of the store
 * with all getters and setters and any functionality of the object. 
 * 
 * @author      Jeff Jenkins
 * @version     1.0
 * 
 */
public class StoreBO extends BusinessObject{
    private String location = null;
    private EmployeeBO manager = null;
    private String address = null;
    private String phone = null;
    
    
    /** Creates a new instance of StoreBO */
    public StoreBO() {
    }
    
    /**
     * This method returns the Location
     * @return location
     */
    public String getLocation() {
        return location;
    }
    /**
     * This method sets the Location
     * @param location 
     */
    public void setLocation(String location) {
        this.location = location;
        setDirty(true);
    }
    /**
     * This method returns the Manager
     * @return manager
     */
    public EmployeeBO getManager() {
        return manager;
    }
    /**
     * This method gets the Manager
     * @param manager 
     */
    public void setManager(EmployeeBO manager) {
        this.manager = manager;
        setDirty(true);
    }
    /**
     * This method returns the address
     * @return address
     */
    public String getAddress() {
        return address;
    }
    /**
     * This method sets the address
     * @param address 
     */
    public void setAddress(String address) {
        this.address = address;
        setDirty(true);
    }
    /**
     * This method returns the phone number
     * @return phone
     */
    public String getPhone() {
        return phone;
    }
    /**
     * This method gets the phone number
     * @param phone 
     */
    public void setPhone(String phone) {
        this.phone = phone;
        setDirty(true);
    }

    
}
